﻿<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <!--
        Welcome to the AutoSPUpdater configuration file.
        
        General information:
        
        Make note that node/attribute names are case-sensitive, this is not a PowerShell thing, but an XPath thingy.
    -->
    <Environment Name="Development">
        <Servers>
            <!--
                Define here your Office Web Apps, Workflow Manager and SharePoint farm servers.
                
                See here below the attributes supported for the server nodes:
                Name: Reference
                Type: String
                Description: Alias for your server, the alias should be unique in your whole configuration.
                
                Name: Hostname
                Type: String
                Description: The actual hosname of the servers, FQDN is also supported, the scripts will always resolve the hostname to an FQDN automatically.
                
                Name: Role
                Type: String
                Description: The role of this particular server. Role can be one of the following values: OfficeWebApps, WorkflowManager, SharePoint or Sql.
                
                Note: When role equals 'Sql', provide instance if you are not connecting to the default instance. If using static or dynamic ports and the Sql browser is not running, you must also supply the port.
                When connecting to the default instance and port, this is not required.
                
                Name: Order
                Type: Integer
                Description: The order in witch the scripts should configure the servers, this is particular needed in SharePoint update scenario, and specified the order in witch the PSConfig.exe is executed. 
                
                Note: In case off OfficeWebApps the master machine must be first in order.
                
                Name: Description
                Type: String
                Description: Not use, just for information purposes.
            -->
            <!--
                Multiple server farm example:
                
                <Server Reference="SP-APP1" Hostname="SP-APP1" Role="SharePoint" Order="1" Description="SharePoint Application Server (APP)" />
                <Server Reference="SP-WFE1" Hostname="SP-WFE1" Role="SharePoint" Order="2" Description="SharePoint Web Front End Server (WFE)" />
            -->
            <Server Reference="SP-APP1" Hostname="SP-APP1"                      Role="SharePoint"       Order="1" Description="SharePoint Application Server (APP)" />
            <Server Reference="SP-WFE1" Hostname="SP-WFE1"                      Role="SharePoint"       Order="2" Description="SharePoint Web Front End Server (WFE)" />
            <Server Reference="SP-SQL1" Hostname="SP-SQL1\MSSQLServer, 1433"    Role="Sql"              Order="1" Description="SharePoint Database Server" />
            <Server Reference="WAC1"    Hostname="WAC1"                         Role="OfficeWebApps"    Order="1" Description="Office Web Apps Server" />
            <Server Reference="WAC2"    Hostname="WAC2"                         Role="OfficeWebApps"    Order="2" Description="Office Web Apps Server" />
        </Servers>
        <UpdateInstaller>
            <Parameters>
                <!--
                    Description: SPUpgradeCommand specified the command used for upgrading the SharePoint farm and is optional.
                    By default the scripts uses the following command:
                    
                    <SPUpgradeCommand>-cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd </SPUpgradeCommand>
                    
                -->
                <SPUpgradeCommand>-cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources</SPUpgradeCommand>
                <!--
                    Description: WACFarmCommand specified the command used for re-creating the Office Web Apps farm and is mandatory.
                -->
                <WACFarmCommand>New-OfficeWebAppsFarm -InternalUrl "https://officewebapps.playcool.net" -ExternalUrl "https://officewebapps.playcool.net" -CertificateName "OfficeWebApps" -EditingEnabled -Force</WACFarmCommand>
            </Parameters>
            <Folders>
                <!--
                    Description: SPUpdateFolder, this options is only needed if you are using relative paths for your updates.
                    The scripts will automatically join this path with the relative path for each update, in this case SharePoint updates.
                -->
                <SPUpdateFolder>SharePoint</SPUpdateFolder>
                <AppFabricUpdateFolder>AppFabric1.1</AppFabricUpdateFolder>
                <WACUpdateFolder>OfficeWebApps</WACUpdateFolder>
            </Folders>
            <InstallUpdates>
                <!--
                    Define here your Office Web Apps, Workflow Manager and SharePoint updates.
                    
                    See here below the attributes supported for the InstallUpdate nodes:
                    
                    Name: Path
                    Type: String
                    Description: Path to update file, optionally can be relative to the above path, please take into account, if you are placing the updates outside AutoSPUpdater folder structure,
                    that the path to the updates should be added to the trusted intranet zone on all servers to be patched. If you place the updates into the \Updates\SharePoint folder, that the scripts will automatically take care
                    of adding this path to the local intranet zone on each server. This is needed so that PowerShell is allowed to not only execute the update without any issues but to also Load the AutoSpUpdater remoted
                    from the share.
                    
                    Name: Order
                    Type: Integer
                    Description: If multiple updates should be installed, this attribute specified the order in witch they should be installed, it is mandatory thought.
                    
                    Name: Target
                    Type: String
                    Description: Specifies the target for this particular update. Target can be one of the following values: OfficeWebApps, WorkflowManager, SharePoint or AppFabric.
                -->
                <InstallUpdate Path="KB3114723\ubersrvprj2013-kb3114723-fullfile-x64-glb.exe" Order="1" Target="SharePoint" />
                <InstallUpdate Path="KB3092423\AppFabric-KB3092423-x64-ENU.exe" Order="1" Target="AppFabric" />
                <InstallUpdate Path="KB3054930\wacserver2013-kb3054930-fullfile-x64-glb.exe" Order="1" Target="OfficeWebApps" />
            </InstallUpdates>
        </UpdateInstaller>
    </Environment>
</Configuration>
